# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=perl-tie-simple
_realname=Tie-Simple
pkgver=1.04
pkgrel=3
pkgdesc="Variable ties made easier: much, much, much easier..."
arch=(any)
license=(PerlArtistic GPL)
depends=(perl)
url="http://search.cpan.org/dist/Tie-Simple"
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/H/HA/HANENKAMP/$_realname-$pkgver.tar.gz")
md5sums=('e5b49588609d6212d3b9bc808cab7aa4')

build() {
  cd "$srcdir/$_realname-$pkgver"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "$srcdir/$_realname-$pkgver"
  make DESTDIR="$pkgdir" install
}
